#pragma once
#include <ltbasedefs.h>
#include <string>
#include <iltvideomgr.h>

class Video_error
{
public:
	Video_error(const std::string& _info):
	  m_error_info(_info){}
	  const std::string& get_error_info()const
	  {return m_error_info;}

private:
	std::string m_error_info;

};

class Video_date
{
private:
	friend class Video_mgr;
	friend class  Video;
	Video_date(const std::string& _video_name);
	~Video_date();
	Video_date(const Video_date& _date);
	Video_date& operator=(const Video_date& _date);
	static	std::string m_file_root;
	std::string m_file_name;
	HVIDEO m_video;
	int uses;
};


class Video
{
public:
	friend class Video_mgr;
	Video();
	Video(const std::string& _name);
	Video(const Video& _video);
	Video& operator=(const Video& _video);
	~Video();
private:
	Video_date* m_date;
	
};


